﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SC2Ranks
{
    [DataContract(Name = "region")]
    public enum Region
    { 
        [EnumMember(Value = "us")] US,

        [EnumMember(Value = "eu")] EU,

        [EnumMember(Value = "kr")] KR,

        [EnumMember(Value = "tw")] TW,

        [EnumMember(Value = "sea")] SEA,

        [EnumMember(Value = "la")] LA
    }

    [DataContract(Name = "race")]
    public enum Race
    {
        [EnumMember(Value = "protoss")]
        Protoss = 1,

        [EnumMember(Value = "terran")]
        Terran = 2,

        [EnumMember(Value = "zerg")]
        Zerg = 3,

        [EnumMember(Value = "random")]
        Random,
    }

    [DataContract(Name = "league")]
    public enum League
    {
        [EnumMember(Value = "bronze")]
        Bronze = 1,
        
        [EnumMember(Value = "silver")]
        Silver = 2,
        
        [EnumMember(Value = "gold")]
        Gold = 3,
        
        [EnumMember(Value = "platinum")]
        Platinum = 4,
        
        [EnumMember(Value = "diamond")]
        Diamond = 5
    }

    public enum PortraitSize
    { 
        x45 = 45,
        x75 = 75,
        x90 = 90
    }
}
